/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.toto.entity;

import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

/**
 *
 * @author Administrator
 */
public interface UserLocalHome extends EJBLocalHome
{
  public UserLocal create(String userId, String name, boolean gender) throws CreateException;
  public UserLocal findByPrimaryKey(UserPK pk) throws  FinderException;
  public Collection findByName(String name) throws  FinderException;
  public Collection findByGender(boolean gender) throws  FinderException;
  public Collection findAll() throws  FinderException;
  public Collection SearchByUserId(String UserId) throws  FinderException;
}
